package com.wms.mapper;

import com.wms.entity.OrderPurchase;
import com.wms.entity.OrderPurchaseDTO;

import java.util.List;

/**
 * ---Do First---
 *
 * @author:wellseasun
 * @date:2025/4/27 下午 8:31
 * @desc:
 */
public interface OrderPurchaseMapper {
    List<OrderPurchase> findAll();

    List<OrderPurchase> findAllByPage(OrderPurchaseDTO orderPurchaseDTO);

    Boolean add(OrderPurchase orderPurchase);

    Boolean deleteOrderPurchase(List<Integer> ids);

    Boolean updateOrderPurchase(OrderPurchase orderPurchase);

    void insertBatch(List<OrderPurchase> cachedDataList);
}
